package weblab.tutor;

import phonegap.ex.R;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebChromeClient;
import android.webkit.WebView;

public class ExercisesActivity extends Activity{
	
	public void onCreate(Bundle savedInstanceState){		
		super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        String lesson_id = getIntent().getStringExtra("lesson_id");

        WebView wv = (WebView) findViewById(R.id.webView);
		wv.getSettings().setJavaScriptEnabled(true);
		wv.setWebChromeClient(new WebChromeClient());
		
		wv.loadUrl("file:///android_asset/www/exercise_screen.html");
	}
}